package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhonglunsheng
 * @Description
 * @create 2020-04-14 22:49
 */
@Controller
public class IndexController {

    @GetMapping("/hello")
    @ResponseBody
    public String hello () {
        return "success";
    }
}
